.class public final Llt/noframe/ratemeplease/dialogs/RateMeDialogFragment$parseRatingResult$2;
.super Ljava/lang/Object;
.source "RateMeDialogFragment.kt"

# interfaces
.implements Llt/noframe/ratemeplease/views/ResponseNegativeView$NegativeReactionListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Llt/noframe/ratemeplease/dialogs/RateMeDialogFragment;->parseRatingResult(Landroid/widget/RatingBar;FZ)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x19
    name = null
.end annotation

.annotation system Ldalvik/annotation/SourceDebugExtension;
    value = "SMAP\nRateMeDialogFragment.kt\nKotlin\n*S Kotlin\n*F\n+ 1 RateMeDialogFragment.kt\nlt/noframe/ratemeplease/dialogs/RateMeDialogFragment$parseRatingResult$2\n*L\n1#1,110:1\n*E\n"
.end annotation


# instance fields
.field final synthetic this$0:Llt/noframe/ratemeplease/dialogs/RateMeDialogFragment;


# direct methods
.method constructor <init>(Llt/noframe/ratemeplease/dialogs/RateMeDialogFragment;)V
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()V"
        }
    .end annotation

    .line 75
    iput-object p1, p0, Llt/noframe/ratemeplease/dialogs/RateMeDialogFragment$parseRatingResult$2;->this$0:Llt/noframe/ratemeplease/dialogs/RateMeDialogFragment;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onDismiss()V
    .locals 6

    .line 77
    iget-object v0, p0, Llt/noframe/ratemeplease/dialogs/RateMeDialogFragment$parseRatingResult$2;->this$0:Llt/noframe/ratemeplease/dialogs/RateMeDialogFragment;

    invoke-virtual {v0}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 78
    sget-object v1, Llt/noframe/ratemeplease/RateMePlsKotlin;->S:Llt/noframe/ratemeplease/RateMePlsKotlin$S;

    invoke-virtual {v1}, Llt/noframe/ratemeplease/RateMePlsKotlin$S;->getParentInterface()Llt/noframe/ratemeplease/java_interfaces/OnReactionInterface;

    move-result-object v1

    if-eqz v1, :cond_0

    const-string v2, "act"

    invoke-static {v0, v2}, Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V

    sget-object v2, Llt/noframe/ratemeplease/dialogs/RateMeDialogFragment$REACTION;->DISMISS:Llt/noframe/ratemeplease/dialogs/RateMeDialogFragment$REACTION;

    iget-object v3, p0, Llt/noframe/ratemeplease/dialogs/RateMeDialogFragment$parseRatingResult$2;->this$0:Llt/noframe/ratemeplease/dialogs/RateMeDialogFragment;

    const/4 v4, 0x1

    const/4 v5, 0x0

    invoke-static {v3, v5, v4, v5}, Llt/noframe/ratemeplease/dialogs/RateMeDialogFragment;->getDataBundle$default(Llt/noframe/ratemeplease/dialogs/RateMeDialogFragment;Ljava/lang/String;ILjava/lang/Object;)Landroid/os/Bundle;

    move-result-object v3

    invoke-interface {v1, v0, v2, v3}, Llt/noframe/ratemeplease/java_interfaces/OnReactionInterface;->onRatingReaction(Landroid/app/Activity;Llt/noframe/ratemeplease/dialogs/RateMeDialogFragment$REACTION;Landroid/os/Bundle;)V

    .line 80
    :cond_0
    iget-object v0, p0, Llt/noframe/ratemeplease/dialogs/RateMeDialogFragment$parseRatingResult$2;->this$0:Llt/noframe/ratemeplease/dialogs/RateMeDialogFragment;

    invoke-virtual {v0}, Landroidx/fragment/app/DialogFragment;->dismiss()V

    return-void
.end method

.method public onFeedbackSent(Ljava/lang/String;)V
    .locals 4

    const-string v0, "feedback"

    invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V

    .line 84
    iget-object v0, p0, Llt/noframe/ratemeplease/dialogs/RateMeDialogFragment$parseRatingResult$2;->this$0:Llt/noframe/ratemeplease/dialogs/RateMeDialogFragment;

    invoke-virtual {v0}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 85
    sget-object v1, Llt/noframe/ratemeplease/RateMePlsKotlin;->S:Llt/noframe/ratemeplease/RateMePlsKotlin$S;

    invoke-virtual {v1}, Llt/noframe/ratemeplease/RateMePlsKotlin$S;->getParentInterface()Llt/noframe/ratemeplease/java_interfaces/OnReactionInterface;

    move-result-object v1

    if-eqz v1, :cond_0

    const-string v2, "act"

    invoke-static {v0, v2}, Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V

    sget-object v2, Llt/noframe/ratemeplease/dialogs/RateMeDialogFragment$REACTION;->FEEDBACK_BUTTON:Llt/noframe/ratemeplease/dialogs/RateMeDialogFragment$REACTION;

    iget-object v3, p0, Llt/noframe/ratemeplease/dialogs/RateMeDialogFragment$parseRatingResult$2;->this$0:Llt/noframe/ratemeplease/dialogs/RateMeDialogFragment;

    invoke-static {v3, p1}, Llt/noframe/ratemeplease/dialogs/RateMeDialogFragment;->access$getDataBundle(Llt/noframe/ratemeplease/dialogs/RateMeDialogFragment;Ljava/lang/String;)Landroid/os/Bundle;

    move-result-object p1

    invoke-interface {v1, v0, v2, p1}, Llt/noframe/ratemeplease/java_interfaces/OnReactionInterface;->onRatingReaction(Landroid/app/Activity;Llt/noframe/ratemeplease/dialogs/RateMeDialogFragment$REACTION;Landroid/os/Bundle;)V

    .line 87
    :cond_0
    iget-object p1, p0, Llt/noframe/ratemeplease/dialogs/RateMeDialogFragment$parseRatingResult$2;->this$0:Llt/noframe/ratemeplease/dialogs/RateMeDialogFragment;

    invoke-virtual {p1}, Landroidx/fragment/app/DialogFragment;->dismiss()V

    return-void
.end method
